{% extends "base.html" %}
{% block title %}Flask Demo{% endblock %}

{% block page_content %}


<div class="center-block" style="width:400px;margin-top: 30px;">
    <div id="login" class="panel panel-info">
        <div class="panel-heading">请先登录</div>
        <div class="panel-body">
        <form method="post" action="{{url_for('employee.login')}}" class="form-horizontal">
            {{ form.hidden_tag() }}
            <div class="form-group">
                <label class="col-sm-3 control-label">用户：</label>
                <div class="col-sm-9">
                <input type="text" class="form-control" placeholder="用户名" id="username" name="username"/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">密码：</label>
                <div class="col-sm-9">
                <input type="password" class="form-control" placeholder="密码" id="password" name="password" />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-3">
                    <input type="submit" class="form-control btn-info" value="登录" />
                </div>

            </div>
        </form>

        </div>
    </div>
</div>
{% endblock %}